/*
package com.hand.wyc24548.app.service.impl;

import java.io.IOException;
import java.util.Map;

import org.apache.catalina.User;
import org.codehaus.jackson.map.ObjectMapper;
import org.hzero.boot.imported.app.service.IDoImportService;
import org.hzero.boot.imported.infra.validator.annotation.ImportService;
import org.springframework.beans.factory.annotation.Autowired;

*/
/**
 * @Author wangyc
 * @create 2019/8/6 20:45
 *//*


@ImportService(templateCode = "TEST")
public class ImportServiceImpl implements IDoImportService {

    @Autowired
    private ObjectMapper objectMapper;
    @Autowired

    @Override
    public Boolean doImport(String data) {
        Map<String,Object> args=getArgs();
        User user=null;
        try{
            user=objectMapper.readValue(data,User.class);
        }  catch (IOException e) {
            return false;
        }

        return true;
    }

}
*/
